package com.feiyu.file.config;

import com.feiyu.common.exception.GlobalException;
import com.github.tobato.fastdfs.FdfsClientConfig;
import org.springblade.core.tool.api.R;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableMBeanExport;
import org.springframework.context.annotation.Import;
import org.springframework.http.HttpStatus;
import org.springframework.jmx.support.RegistrationPolicy;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @author tang ming
 * @since 2021/12/6 20:52
 */
@Configuration
@Import(FdfsClientConfig.class) // 导入FastDFS-Client组件
@EnableMBeanExport(registration = RegistrationPolicy.IGNORE_EXISTING) // 解决jmx重复注册bean的问题
public class FileConfig {

}
